package main.java.day06;

import java.io.File;
import java.util.Scanner;

/**
 * 获取并输出当前目录下所有文件的名字
 * @author Xiloer
 *
 */
public class Test06 {
    public static void main(String[] args) {
        Scanner scanner= new Scanner(System.in);
        String path = scanner.nextLine();
        File file= new File(path);
        File[] a=file.listFiles();
        for (File b:a
             ) {
            System.out.println(b.getName());
        }
    }

}
